package com.gpframework.module.ctn.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gpframework.module.ctn.domain.*;
import com.gpframework.module.ctn.domain.vo.GpCtnLoadedSummaryVo;
import com.gpframework.module.ctn.domain.vo.GpPackagesInformationVo;
import com.gpframework.module.ctn.domain.vo.GpSupplierSummaryVo;
import com.gpframework.module.ctn.mapper.GpFormsStatisticsMapper;
import com.gpframework.module.ctn.service.IGpFormsStatisticsService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ZS
 * @version 1.0
 * @date 2024/1/15 23:25
 */

@Service
public class GpFormsStatisticsServiceImpl  extends ServiceImpl<GpFormsStatisticsMapper, GpCtnOrder>  implements IGpFormsStatisticsService {

    @Override
    public List<GpSupplierSummaryVo> supplierSummary(QueryWrapper<GpReceiptGoods> lqw) {
        return this.baseMapper.supplierSummary(lqw);
    }

    @Override
    public List<GpSupplierSummaryVo> customerSummary(QueryWrapper<GpReceiptGoods> lqw) {
        return this.baseMapper.customerSummary(lqw);
    }

    @Override
    public List<GpCtnLoadedSummaryVo> loadingListAgentOne(QueryWrapper<GpCtnLoaded> lqw) {
        return this.baseMapper.loadingListAgentOne(lqw);
    }

    @Override
    public List<GpCtnLoadedSummaryVo> supplierCustomerAgent(QueryWrapper<GpCtnLoaded> lqw) {
        return this.baseMapper.supplierCustomerAgent(lqw);
    }

    //@Override
    //public List<GpCtnLoadedSummaryVo> noLoadingSummary(QueryWrapper<GpCtnLoaded> lqw) {
    //    return this.baseMapper.noLoadingSummary(lqw);
    //}

    @Override
    public List<GpCtnLoadedSummaryVo> gpContainerAnnualStatisticsReq(QueryWrapper<GpCtnReachPort> lqw) {
        return this.baseMapper.gpContainerAnnualStatisticsReq(lqw);
    }

    //@Override
    //public List<GpCtnLoadedSummaryVo> holdAndReleased(QueryWrapper<GpHoldGoodsChinaRelease> lqw) {
    //    return null;
    //}
    //
    //@Override
    //public List<GpCtnLoadedSummaryVo> holdAndReleased(QueryWrapper<GpHoldGoodsChinaRelease> lqw) {
    //    return this.baseMapper.holdAndReleased(lqw);
    //}
    //
    //@Override
    //public List<GpCtnLoadedSummaryVo> holdAndNoReleased(QueryWrapper<GpHoldGoodsChinaRelease> lqw) {
    //    return this.baseMapper.holdAndNoReleased(lqw);
    //}

    @Override
    public List<GpCtnLoadedSummaryVo> agentContainerStatistics(QueryWrapper<GpCtnLoaded> lqw) {
        return this.baseMapper.agentContainerStatistics(lqw);
    }

    @Override
    public List<GpCtnLoadedSummaryVo> warehouseNoLoadingSummary(QueryWrapper<GpPackagesInformation> lqw) {
        return this.baseMapper.warehouseNoLoadingSummary(lqw);
    }

    @Override
    public List<GpPackagesInformationVo> holdAndReleased(String receiptNo, String supplier, String supplierTel, String releaseCustomer, String releaseCustomerTel) {
        return this.baseMapper.holdAndReleased(receiptNo,supplier,supplierTel,releaseCustomer,releaseCustomerTel);
    }

    @Override
    public List<GpPackagesInformationVo> holdAndNoReleased(String receiptNo, String supplier, String supplierTel, String releaseCustomer, String releaseCustomerTel) {
        return this.baseMapper.holdAndNoReleased(receiptNo,supplier,supplierTel,releaseCustomer,releaseCustomerTel);
    }

    @Override
    public List<GpPackagesInformationVo> noLoadingSummary(String receiptNo, String supplier, String supplierTel, String releaseCustomer, String releaseCustomerTel) {
        return this.baseMapper.noLoadingSummary(receiptNo,supplier,supplierTel,releaseCustomer,releaseCustomerTel);
    }


}
